/* **************************************************
 * User Group Manager
 *      author:     Baskin Tapkan
 *          written for Code Plex
 *              April - 2008
 *                  http://tapkan.com
 * ****************************************************
 */

using System;
using System.Collections.Generic;
using System.Text;

namespace UserGroupManager
{
    public class LocalUser
    {
        string userName = "";
        string userFullName = "";
        string userDescription = "";
        string userPswd = "";
        bool passwordLastSet = false;
        bool passwordChangeable = false;
        bool passwordExpires = false;
        bool accountDisabled = false;
        bool accountLocked = false;

        /// <summary>
        /// Account name
        /// </summary>
        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }
        
        /// <summary>
        /// Account full name
        /// </summary>
        public string UserFullName
        {
            get { return userFullName; }
            set { userFullName = value; }
        }
        
        /// <summary>
        /// Account description
        /// </summary>
        public string UserDescription
        {
            get { return userDescription; }
            set { userDescription = value; }
        }

        /// <summary>
        /// Account password - only for entering
        /// </summary>
        public string UserPswd
        {
            get { return userPswd; }
            set { userPswd = value; }
        }

        public bool PasswordLastSet
        {
            get { return passwordLastSet; }
            set { passwordLastSet = value; }
        }

        public bool PasswordChangeable
        {
            get { return passwordChangeable; }
            set { passwordChangeable = value; }
        }

        public bool PasswordExpires
        {
            get { return passwordExpires; }
            set { passwordExpires = value; }
        }
        
        public bool AccountDisabled
        {
            get { return accountDisabled; }
            set { accountDisabled = value; }
        }

        public bool AccountLocked
        {
            get { return accountLocked; }
            set { accountLocked = value; }
        }

    }
}
